/*
 * Problem:
 * Count how many nodes in a linked list.
 * 统计在链表中有多少结点。
 * 
 * 
 * Example:
 * Given 1->3->5，return 3
 */
package me.yobol.lintcode.naive.countlinkedlist;

import me.yobol.lintcode.ListNode;

/**
 *
 * @author Yobol
 */
public interface ICountLinkedListNodes {
    public int countNodes(ListNode head);
}
